package com.webwork.mood.record.dao;

import java.util.List;

import com.webwork.mood.common.dao.DBInterface;
import com.webwork.mood.record.dataobject.Rule;

public interface RuleDao extends DBInterface {
	
	public void insert(final Rule o);
	
	public void update(final Rule o);
	
	public void delete(final Rule o);
	
	public List<Rule> query(final Rule o, final int page, final int size);
	
	public int count(final Rule o);

}
